package com.think.teaching.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.think.common.model.Result;
import com.think.common.utils.Common;

/**
 * 事件数据
 * @author 赵兴
 * 2020-11-12
 */
public class ActionData extends BaseModel<ActionData>{
	
	/**
	 * 主键
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	
	/**
	 * 事件类型主键（关联）
	 */
	private Integer typeId;
	
	/**
	 * 用户ID
	 */
	private Integer actionUser;
	
	/**
	 * key
	 */
	private String actionKey;
	
	/**
	 * value
	 */
	private String actionValue;
	
	public ActionData() {}
	
	public ActionData(Integer id, Integer typeId,Integer actionUser,String actionKey,String actionValue) {
		this.id=id;
		this.typeId = id;
		this.actionUser = actionUser;
		this.actionKey = actionKey;
		this.actionValue = actionValue;
	}
	
	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
    
    public Integer getActionUser() {
        return actionUser;
    }

    public void setActionUser(Integer actionUser) {
        this.actionUser = actionUser;
    }
    
    public String getActionKey() {
        return actionKey;
    }

    public void setActionKey(String key) {
        this.actionKey = key;
    }
    
    public String getActionValue() {
        return actionValue;
    }

    public void setActionValue(String value) {
        this.actionValue = value;
    }

	
}